import java.util.Random;


public class RandomDataGenerator {
	

	public Integer[] getRandomData(int n){
		Integer [] rnd = new Integer [n];
		
		Random rndGenerator = new Random();
		for (int i =0; i<n; i++){
			rnd[i] = (rndGenerator.nextInt()*100)+1;
		}
		
		return rnd;
	}
	
	public Integer[] getAscendingListWithData(int n){
		Integer[] rnd = new Integer[n];
		
		for (int i=0; i<n; i++){
			rnd[i] = i;
		}
		
		return rnd;
	}
	
	public Integer[] getDescendingListWithData(int n){
		Integer[] rnd = new Integer[n];
		
		for (int i=0; i<n; i++){
			rnd[i] = i;
		}
		
		return rnd;
	}
	
	public Integer[] getListWithSameNumbers(int n){
		Integer[] rnd = new Integer[n];
		int number = 1;
		
		for (int i=0; i<n; i++){
			rnd[i]=number;
		}
		
		return rnd;
	}
		
}
